import { UPDATE_USER_INFO, LOGOUT } from '@/constants/app';
// Action creator
export const updateUserInfo = (userInfo) => {
  return {
    type: UPDATE_USER_INFO,
    payload: userInfo
  };
};

export const logout = () => {
  return {
    type: LOGOUT
  };
};

